/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.mine.contract;

import com.suozhang.framework.entity.bo.PageData;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.lottery.entity.bo.BalanceBo;
import com.yiqi.lottery.entity.bo.CharsBo;
import io.reactivex.Observable;

/**
 * LIJUWEN
 *
 * @email yiyayiyayaoljw@gmail.com
 * @date 2017/4/11 9:06
 */
public interface NumberContract {

    interface Model {

        Observable<PageData<CharsBo>> getMyCharsList(int page);

        Observable<CharsBo> getMyCharsDetail(int id);
    }

    interface View extends BaseView {

        void showMyBanlanceSuccess(PageData<CharsBo> msg);

        void showMyBanlanceError(String msg);

        void showMyBanlanceMoreSuccess(PageData<CharsBo> msg);

        void showMyBanlanceMoreError(String msg);

        void showMyBanlanceEmpty();

        void showNumberDetailSuccess(CharsBo msg);

    }


    interface Presenter extends BasePresenter {
        void getMyCharsList(int page);

        void getMyCharsMoreList(int page);

        void getMyCharsDetail(int id);

    }
}
